using System;
using System.Collections.Generic;
using System.Text;
using NBusiness.CodeDom;
using NBusiness.Data.Rules;

namespace NBusiness.Data.Rules.Validation
{
    [Serializable]
    public sealed class MinLengthEventArgs : ValidationEventArgs
    {
        private int _length;
        
        //[ExpectedArgumentProperty]
        public int Length
        {
            get { return _length; }
        }

        public MinLengthEventArgs(int length)
        {
            _length = length;
        }
    }
}
